<?php

namespace frontend\models;

// 公司发布的职位信息表


use Yii;

/**
 * This is the model class for table "e_recruit".
 *
 * @property integer $recruit_id
 * @property string $recruit_content
 * @property string $recruit_money
 * @property string $recruit_time
 * @property string $position_name
 * @property string $recruit_area
 * @property integer $position_id
 * @property integer $user_id
 * @property string $title
 * @property string $work_area
 * @property string $recruit_people
 */
class Recruit extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'e_recruit';
    }

    /**
     * @inheritdoc
     */
//    public function rules()
//    {
//        return [
//            [['recruit_content'], 'string'],
//            [['position_id', 'user_id'], 'integer'],
//            [['recruit_money', 'recruit_time', 'position_name', 'recruit_area', 'title', 'work_area', 'recruit_people'], 'string', 'max' => 255],
//        ];
//    }

    /**
     * @inheritdoc
     */
//    public function attributeLabels()
//    {
//        return [
//            'recruit_id' => 'Recruit ID',
//            'recruit_content' => 'Recruit Content',
//            'recruit_money' => 'Recruit Money',
//            'recruit_time' => 'Recruit Time',
//            'position_name' => 'Position Name',
//            'recruit_area' => 'Recruit Area',
//            'position_id' => 'Position ID',
//            'user_id' => 'User ID',
//            'title' => 'Title',
//            'work_area' => 'Work Area',
//            'recruit_people' => 'Recruit People',
//        ];
//    }
}
